<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <!-- 设置管理范围 -->
    <div id="app">
        <h1>{{info}}</h1>
    </div>

    <!--<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>-->
    <script src="../js/vue.js"></script>
    <script>
        let v = new Vue({
            el : "#app", //el = element,设置需要管理的元素
            data : {info : "Hello Vue!"}
        });

        /* 一次性定时器 */
        setTimeout(function () {
            v.info = "值改变啦!";
        },3000);
    </script>
</body>
</html>